package plant;

public class Gearbox {//变速箱
    private String gearboxName;

    public void setGearboxName(String gearboxName) {
        this.gearboxName = gearboxName;
    }

    public Gearbox(String gearboxName) {
        this.gearboxName = gearboxName;
    }

    public String getGearboxName() {
        return gearboxName;
    }

    @Override
    public String toString() {
        return "Gearbox{" +
                "gearboxName='" + gearboxName + '\'' +
                '}';
    }
}
